import pytest
import sys
from src.allure_report import generate_report


def main(args):
    pytest.main(args)
    generate_report()


argv = list(filter(lambda x: not x.endswith("="), sys.argv[1:]))

if __name__ == '__main__':
    main(argv)
